package org.pcorp.battlespace.persistance.dao;

import java.util.List;

import org.hibernate.SessionFactory;
import org.pcorp.battlespace.persistance.modele.Armement;
import org.springframework.beans.factory.annotation.Autowired;

public interface ArmementDao {

	@Autowired
	public abstract void initDao(SessionFactory sessionFactory);

	public abstract void persist(Armement transientInstance);

	public abstract void delete(Armement persistentInstance);

	public abstract Armement merge(Armement detachedInstance);

	public abstract Armement findById(long id);

	public abstract List<Armement> findAll();

	public abstract List<Armement> findByExample(Armement instance);

}
